Optimal. Leaf size=178 \[ -\frac {21 a^5 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt [3]{x}}{\sqrt {a x+b x^{2/3}}}\right )}{128 b^{9/2}}+\frac {21 a^4 \sqrt {a x+b x^{2/3}}}{128 b^4 x^{2/3}}-\frac {7 a^3 \sqrt {a x+b x^{2/3}}}{64 b^3 x}+\frac {7 a^2 \sqrt {a x+b x^{2/3}}}{80 b^2 x^{4/3}}-\frac {3 a \sqrt {a x+b x^{2/3}}}{40 b x^{5/3}}-\frac {3 \sqrt {a x+b x^{2/3}}}{5 x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.30, antiderivative size = 178, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {2020, 2025, 2029, 206} \begin {gather*} \frac {21 a^4 \sqrt {a x+b x^{2/3}}}{128 b^4 x^{2/3}}-\frac {7 a^3 \sqrt {a x+b x^{2/3}}}{64 b^3 x}+\frac {7 a^2 \sqrt {a x+b x^{2/3}}}{80 b^2 x^{4/3}}-\frac {21 a^5 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt [3]{x}}{\sqrt {a x+b x^{2/3}}}\right )}{128 b^{9/2}}-\frac {3 a \sqrt {a x+b x^{2/3}}}{40 b x^{5/3}}-\frac {3 \sqrt {a x+b x^{2/3}}}{5 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 2020
Rule 2025
Rule 2029
Rubi steps
\begin {align*} \int \frac {\sqrt {b x^{2/3}+a x}}{x^3} \, dx &=-\frac {3 \sqrt {b x^{2/3}+a x}}{5 x^2}+\frac {1}{10} a \int \frac {1}{x^2 \sqrt {b x^{2/3}+a x}} \, dx\\ &=-\frac {3 \sqrt {b x^{2/3}+a x}}{5 x^2}-\frac {3 a \sqrt {b x^{2/3}+a x}}{40 b x^{5/3}}-\frac {\left (7 a^2\right ) \int \frac {1}{x^{5/3} \sqrt {b x^{2/3}+a x}} \, dx}{80 b}\\ &=-\frac {3 \sqrt {b x^{2/3}+a x}}{5 x^2}-\frac {3 a \sqrt {b x^{2/3}+a x}}{40 b x^{5/3}}+\frac {7 a^2 \sqrt {b x^{2/3}+a x}}{80 b^2 x^{4/3}}+\frac {\left (7 a^3\right ) \int \frac {1}{x^{4/3} \sqrt {b x^{2/3}+a x}} \, dx}{96 b^2}\\ &=-\frac {3 \sqrt {b x^{2/3}+a x}}{5 x^2}-\frac {3 a \sqrt {b x^{2/3}+a x}}{40 b x^{5/3}}+\frac {7 a^2 \sqrt {b x^{2/3}+a x}}{80 b^2 x^{4/3}}-\frac {7 a^3 \sqrt {b x^{2/3}+a x}}{64 b^3 x}-\frac {\left (7 a^4\right ) \int \frac {1}{x \sqrt {b x^{2/3}+a x}} \, dx}{128 b^3}\\ &=-\frac {3 \sqrt {b x^{2/3}+a x}}{5 x^2}-\frac {3 a \sqrt {b x^{2/3}+a x}}{40 b x^{5/3}}+\frac {7 a^2 \sqrt {b x^{2/3}+a x}}{80 b^2 x^{4/3}}-\frac {7 a^3 \sqrt {b x^{2/3}+a x}}{64 b^3 x}+\frac {21 a^4 \sqrt {b x^{2/3}+a x}}{128 b^4 x^{2/3}}+\frac {\left (7 a^5\right ) \int \frac {1}{x^{2/3} \sqrt {b x^{2/3}+a x}} \, dx}{256 b^4}\\ &=-\frac {3 \sqrt {b x^{2/3}+a x}}{5 x^2}-\frac {3 a \sqrt {b x^{2/3}+a x}}{40 b x^{5/3}}+\frac {7 a^2 \sqrt {b x^{2/3}+a x}}{80 b^2 x^{4/3}}-\frac {7 a^3 \sqrt {b x^{2/3}+a x}}{64 b^3 x}+\frac {21 a^4 \sqrt {b x^{2/3}+a x}}{128 b^4 x^{2/3}}-\frac {\left (21 a^5\right ) \operatorname {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {\sqrt [3]{x}}{\sqrt {b x^{2/3}+a x}}\right )}{128 b^4}\\ &=-\frac {3 \sqrt {b x^{2/3}+a x}}{5 x^2}-\frac {3 a \sqrt {b x^{2/3}+a x}}{40 b x^{5/3}}+\frac {7 a^2 \sqrt {b x^{2/3}+a x}}{80 b^2 x^{4/3}}-\frac {7 a^3 \sqrt {b x^{2/3}+a x}}{64 b^3 x}+\frac {21 a^4 \sqrt {b x^{2/3}+a x}}{128 b^4 x^{2/3}}-\frac {21 a^5 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt [3]{x}}{\sqrt {b x^{2/3}+a x}}\right )}{128 b^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.07, size = 57, normalized size = 0.32 \begin {gather*} \frac {2 a^5 \left (a \sqrt [3]{x}+b\right ) \sqrt {a x+b x^{2/3}} \, _2F_1\left (\frac {3}{2},6;\frac {5}{2};\frac {\sqrt [3]{x} a}{b}+1\right )}{b^6 \sqrt [3]{x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.26, size = 112, normalized size = 0.63 \begin {gather*} \frac {\sqrt {a x+b x^{2/3}} \left (105 a^4 x^{4/3}-70 a^3 b x+56 a^2 b^2 x^{2/3}-48 a b^3 \sqrt [3]{x}-384 b^4\right )}{640 b^4 x^2}-\frac {21 a^5 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt [3]{x}}{\sqrt {a x+b x^{2/3}}}\right )}{128 b^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.28, size = 126, normalized size = 0.71 \begin {gather*} \frac {\frac {105 \, a^{6} \arctan \left (\frac {\sqrt {a x^{\frac {1}{3}} + b}}{\sqrt {-b}}\right )}{\sqrt {-b} b^{4}} + \frac {105 \, {\left (a x^{\frac {1}{3}} + b\right )}^{\frac {9}{2}} a^{6} - 490 \, {\left (a x^{\frac {1}{3}} + b\right )}^{\frac {7}{2}} a^{6} b + 896 \, {\left (a x^{\frac {1}{3}} + b\right )}^{\frac {5}{2}} a^{6} b^{2} - 790 \, {\left (a x^{\frac {1}{3}} + b\right )}^{\frac {3}{2}} a^{6} b^{3} - 105 \, \sqrt {a x^{\frac {1}{3}} + b} a^{6} b^{4}}{a^{5} b^{4} x^{\frac {5}{3}}}}{640 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 125, normalized size = 0.70 \begin {gather*} -\frac {\sqrt {a x +b \,x^{\frac {2}{3}}}\, \left (105 a^{5} b^{4} x^{\frac {5}{3}} \arctanh \left (\frac {\sqrt {a \,x^{\frac {1}{3}}+b}}{\sqrt {b}}\right )+105 \sqrt {a \,x^{\frac {1}{3}}+b}\, b^{\frac {17}{2}}+790 \left (a \,x^{\frac {1}{3}}+b \right )^{\frac {3}{2}} b^{\frac {15}{2}}-896 \left (a \,x^{\frac {1}{3}}+b \right )^{\frac {5}{2}} b^{\frac {13}{2}}+490 \left (a \,x^{\frac {1}{3}}+b \right )^{\frac {7}{2}} b^{\frac {11}{2}}-105 \left (a \,x^{\frac {1}{3}}+b \right )^{\frac {9}{2}} b^{\frac {9}{2}}\right )}{640 \sqrt {a \,x^{\frac {1}{3}}+b}\, b^{\frac {17}{2}} x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a x + b x^{\frac {2}{3}}}}{x^{3}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {a\,x+b\,x^{2/3}}}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a x + b x^{\frac {2}{3}}}}{x^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________